
<%@ page import="com.memora.usuario.Telefone" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'telefone.label', default: 'Telefone')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>

		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>
				<g:message code="default.show.label" args="[entityName]" />
				<!--small>Control panel</small-->
				<small>Control Panel</small>
				
			</h1>
			<ol class="breadcrumb">
				<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
				<li class="active">Blank page</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list telefone">
			
				<g:if test="${telefoneInstance?.segUser}">
				<li class="fieldcontain">
					<span id="segUser-label" class="property-label"><g:message code="telefone.segUser.label" default="Seg User" /></span>
					
						<span class="property-value" aria-labelledby="segUser-label"><g:link controller="segUser" action="show" id="${telefoneInstance?.segUser?.id}">${telefoneInstance?.segUser?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${telefoneInstance?.descricaoNumero}">
				<li class="fieldcontain">
					<span id="descricaoNumero-label" class="property-label"><g:message code="telefone.descricaoNumero.label" default="Descricao Numero" /></span>
					
						<span class="property-value" aria-labelledby="descricaoNumero-label"><g:fieldValue bean="${telefoneInstance}" field="descricaoNumero"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${telefoneInstance?.numeroTelefone}">
				<li class="fieldcontain">
					<span id="numeroTelefone-label" class="property-label"><g:message code="telefone.numeroTelefone.label" default="Numero Telefone" /></span>
					
						<span class="property-value" aria-labelledby="numeroTelefone-label"><g:fieldValue bean="${telefoneInstance}" field="numeroTelefone"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form url="[resource:telefoneInstance, action:'delete']" method="DELETE">
				<fieldset class="buttons">
					<g:link class="btn btn-default" action="edit" resource="${telefoneInstance}"><g:message code="default.button.edit.label" default="Edit" /></g:link>

					<g:actionSubmit class="btn btn-danger" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</section>

	</body>
</html>
